<?php
    $role = $data['role'];
?>
<div class="block">
    <div class="block_head">
        <div class="bheadl"></div>
        <div class="bheadr"></div>
        <h2><?php echo Yii::app()->controller->action->id == 'add' ? 'Thêm mới' : 'Sửa'; ?> quyền</h2>
    </div>

    <div class="block_content">
        <?php echo showMessage(); ?>
        <form action="" method="post">
            <p>
                <label>Role:</label><br />
                <input type="text" class="text small" name="role" value="<?php echo str2str($role['role']); ?>" />
            </p>
            <hr />
            <p>
                <input type="submit" class="submit small" value="Submit" />
                <input type="button" class="submit mid" value="Cancel" onclick="window.location='<?php echo $this->createUrl('role/index') ?>';" />
            </p>
        </form>
    </div>
    <div class="bendl"></div>
    <div class="bendr"></div>
</div>